<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<jsp:include page="/yemeiServlet"></jsp:include>
<section class="index-section">
    <div>
        <span></span>
        <span></span>
    </div>
    <div class="index-content">
        <section class="index-content-section-first"><div><img src="images/lz.jpg" alt=""></div> </section>
        <section class="index-content-section-second">
            <div>
                <div class="index-auto">
            <article>婚纱介绍</article>
            <h6>关于婚纱</h6>
            <main>
            ${home.homeInfo }
            </main>
            <a class="index-button" href="AboutServlet">点击查看详情</a>
                </div>
            </div>
        </section>
    </div>
</section>
<section class="index-product">
    <main>
        <ul>
        </ul>
    </main>
    <main>
        <ul>
        </ul>
    </main>
    <main>
        <ul>
        </ul>
    </main>
</section>
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" >网页模板</a></div>
<section class="index-margin-bottom">
    <div class="index-morecase">
        <span></span>
        <a href="#">MORE &#62; &#62;</a>
    </div>
    <div class="index-content">
        <div class="product-list">
            <c:forEach items="${pro }" var="p" >
           		<div class="am-u-sm-6 am-u-md-6 am-u-lg-4"
           			<a href="productlist.jsp">
           				<img src="${p.picUrl }" />
           			</a>
           		</div>
           </c:forEach>
        </div>
    </div>
</section>


<section class="index-margin-bottom">
    <div class="index-morecase">
        <span></span>
        <a href="#">MORE &#62; &#62;</a>
    </div>
    <div class="index-content">


        <div class="new-index">
          <ul>
                <li><img  src="images/010.jpg" alt=""> </li>
                <li>  <a href="article_list_content.jsp"><h3>${News[0].content}</h3>
                    <article>${News[0].title}</article></a></li>
            </ul>>
            <ul>
                 <c:forEach items="${News }" var="n" begin="1">
            	<li><a href="Article_listServlet"><h3>${n.content }</h3>
                    <article>
                       ${n.title }
                    </article>
                </a></li>
            </c:forEach>
            </ul>

        </div>
    </div>
</section>




<jsp:include page="/yejiaoServlet"></jsp:include>
</body>
</html>
